<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2016/3/12
 * Time: 15:02
 */

echo "<title>7-3 索引数组赋值</title>";
echo "<p style='text-align: center'><a href=\"index.php\"><font size=\"4\">目录</font></a></p>";
header("Content-type: text/html; charset=utf-8");
echo "<meta http-equiv=\"Content-Type\" content=\"text/html; charset=utf-8\" />";

//请创建一个数组变量arr，并尝试创建一个索引数组，键是0，值是苹果
$arr = array('0'=>'苹果');
if(isset($arr)){print_r($arr);}



























